<?php

namespace App\Module\Api\Validator;

use App\System\Base\Validator\BaseValidator;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class BindMobileValidator extends BaseValidator
{
    protected $rules = [
        'q.a'=>'required',
        'q.mobile'=>'required|numeric',
        'q.smsKey'=>'required',
        'q.smsId'=>'required',

    ];

    protected $messages = [

    ];

    protected $attributes = [
        'a.a'=>'绑定类型',
         'q.mobile'=>'手机号',
         'q.smsKey'=>'短信码',
         'q.smsId'=>'短信id',
    ];
}
